package top.oylan.manager.mapper;

import java.util.ArrayList;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.oylan.manager.entity.Types;
import top.oylan.manager.entity.example.TypesExample;
import top.oylan.manager.entity.extend.TypesExtend;

@Mapper
public interface TypesMapper {
    long countByExample(TypesExample example);

    int deleteByExample(TypesExample example);

    int insert(Types record);

    int insertSelective(Types record);

    List<Types> selectByExample(TypesExample example);

    int updateByExampleSelective(@Param("record") Types record, @Param("example") TypesExample example);

    int updateByExample(@Param("record") Types record, @Param("example") TypesExample example);

    Types findById(Integer id);

    ArrayList<TypesExtend> selectVideoTypeCategory();

    Types selectCourseCategories();
}